﻿using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WJP.Utils.Excels
{
    public interface ITableReader
    {
        /// <summary>
        /// 读取文件
        /// </summary>
        /// <param name="filePath"></param>
        /// <returns></returns>
        DataTable ReaderAsTable(string filePath);

        /// <summary>
        /// 读取文件
        /// </summary>
        /// <param name="stream"></param>
        /// <returns></returns>
        DataTable ReaderAsTable(Stream stream);
    }
}
